package cn.dota2info.elk.user.dao;


import cn.dota2info.elk.user.entity.UserInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

/**
 *
 * 
 *
 * @author lw
 * @email li.wei@vivame.cn
 * @date 2018-07-27 11:35:48
 */
@Repository
public interface UserInfoDao extends JpaSpecificationExecutor<UserInfo>,JpaRepository<UserInfo, Integer> {

    public UserInfo findFirstByNameAndPassword(String name,String password);
}